package com.flyoil.petromp.entity.entity_course_message;

import com.flyoil.petromp.base.BaseEntity;
import com.flyoil.petromp.entity.entity_order.OrderSignatureEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/11/27 0027.
 * 服务需求单详情的实体类
 */

public class ServiceDemandMessageEntity extends BaseEntity {


    /**
     * data : {"id":0,"sn":"类型: java.lang.String 描述: 需求编号","planId":"类型: java.lang.Long 描述: 计划id","planSubject":"类型: java.lang.String 描述: 计划主题","planSn":"类型: java.lang.String 描述: 计划编号","name":"类型: java.lang.String 描述: 需求名称","username":"类型: java.lang.String 描述: 申请人昵称","deptName":"类型: java.lang.String 描述: 申请部门名","usedOrg":"类型: java.lang.String 描述: 使用单位","createdTimeLabel":"类型: java.lang.String 描述: 需求创建日期","serviceRequirementItemAppListVos":[{"id":0,"serviceContent":"类型: java.lang.String 描述: 服务内容","requiredTimeLabel":"类型: java.lang.String 描述: 需求日期"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 0
         * sn : 类型: java.lang.String 描述: 需求编号
         * planId : 类型: java.lang.Long 描述: 计划id
         * planSubject : 类型: java.lang.String 描述: 计划主题
         * planSn : 类型: java.lang.String 描述: 计划编号
         * name : 类型: java.lang.String 描述: 需求名称
         * username : 类型: java.lang.String 描述: 申请人昵称
         * deptName : 类型: java.lang.String 描述: 申请部门名
         * usedOrg : 类型: java.lang.String 描述: 使用单位
         * createdTimeLabel : 类型: java.lang.String 描述: 需求创建日期
         * serviceRequirementItemAppListVos : [{"id":0,"serviceContent":"类型: java.lang.String 描述: 服务内容","requiredTimeLabel":"类型: java.lang.String 描述: 需求日期"}]
         */

        private int id;
        private String sn;
        private String planId;
        private String planSubject;
        private String planSn;
        private String name;
        private String username;
        private int userId;
        private String deptName;
        private String usedOrg;
        private String createdTimeLabel;
        private String specification;
        private List<ServiceRequirementItemAppListVosBean> serviceRequirementItemAppListVos;
        private List<OrderSignatureEntity> confirmLogs;
        private String transformStatusLabel;//单据流转状态：流转中、已完成、待撤销、已冻结
        private String confirmStatusLabel;//单据审核状态：待审批,已审批,已驳回待撤销,已撤销

        public String getConfirmStatusLabel() {
            return confirmStatusLabel;
        }

        public void setConfirmStatusLabel(String confirmStatusLabel) {
            this.confirmStatusLabel = confirmStatusLabel;
        }

        public String getSpecification() {
            return specification;
        }

        public void setSpecification(String specification) {
            this.specification = specification;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public List<OrderSignatureEntity> getConfirmLogs() {
            return confirmLogs;
        }

        public String getTransformStatusLabel() {
            return transformStatusLabel;
        }

        public void setTransformStatusLabel(String transformStatusLabel) {
            this.transformStatusLabel = transformStatusLabel;
        }

        public void setConfirmLogs(List<OrderSignatureEntity> confirmLogs) {
            this.confirmLogs = confirmLogs;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getPlanId() {
            return planId;
        }

        public void setPlanId(String planId) {
            this.planId = planId;
        }

        public String getPlanSubject() {
            return planSubject;
        }

        public void setPlanSubject(String planSubject) {
            this.planSubject = planSubject;
        }

        public String getPlanSn() {
            return planSn;
        }

        public void setPlanSn(String planSn) {
            this.planSn = planSn;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public String getUsedOrg() {
            return usedOrg;
        }

        public void setUsedOrg(String usedOrg) {
            this.usedOrg = usedOrg;
        }

        public String getCreatedTimeLabel() {
            return createdTimeLabel;
        }

        public void setCreatedTimeLabel(String createdTimeLabel) {
            this.createdTimeLabel = createdTimeLabel;
        }

        public List<ServiceRequirementItemAppListVosBean> getServiceRequirementItemAppListVos() {
            return serviceRequirementItemAppListVos;
        }

        public void setServiceRequirementItemAppListVos(List<ServiceRequirementItemAppListVosBean> serviceRequirementItemAppListVos) {
            this.serviceRequirementItemAppListVos = serviceRequirementItemAppListVos;
        }

        public static class ServiceRequirementItemAppListVosBean {
            /**
             * id : 0
             * serviceContent : 类型: java.lang.String 描述: 服务内容
             * requiredTimeLabel : 类型: java.lang.String 描述: 需求日期
             */

            private int id;
            private String requiredTimeLabel;
            private String specification;

            public String getSpecification() {
                return specification;
            }

            public void setSpecification(String specification) {
                this.specification = specification;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }


            public String getRequiredTimeLabel() {
                return requiredTimeLabel;
            }

            public void setRequiredTimeLabel(String requiredTimeLabel) {
                this.requiredTimeLabel = requiredTimeLabel;
            }
        }
    }
}
